package com.ordobill.webapp.beans;

import com.ordobill.webapp.common.CommonFields;

/**
 * 사용자 관련하여 생성된 클래스 입니다.
 * 
 * @author Choi Jin Wook(A.K.A Brian Choi @ Ordobill Office) / choijinwook84@gmail.com
 *
 */
@SuppressWarnings("serial")
public class Member extends CommonFields{
	
	private int    memUid     = 0;
	private String memName    = "";
	private String memId      = "";
	private String memPw      = "";
	private String memCompany = "";
	private String memEmail   = "";
	private String memTel     = "";
	private String memAddress = "";
	private String memOk      = "";
	private String memRegDate = "";
	private String memLevel   = "";
	
	public int getMemUid() {
		return memUid;
	}
	public void setMemUid(int memUid) {
		this.memUid = memUid;
	}
	public String getMemName() {
		return memName;
	}
	public void setMemName(String memName) {
		this.memName = memName;
	}
	public String getMemId() {
		return memId;
	}
	public void setMemId(String memId) {
		this.memId = memId;
	}
	public String getMemPw() {
		return memPw;
	}
	public void setMemPw(String memPw) {
		this.memPw = memPw;
	}
	
	public boolean isCheckoutPassword(String password){
		return (this.memPw.equals(password));
	}
	
	public String getMemCompany() {
		return memCompany;
	}
	public void setMemCompany(String memCompany) {
		this.memCompany = memCompany;
	}
	public String getMemEmail() {
		return memEmail;
	}
	public void setMemEmail(String memEmail) {
		this.memEmail = memEmail;
	}
	public String getMemTel() {
		return memTel;
	}
	public void setMemTel(String memTel) {
		this.memTel = memTel;
	}
	public String getMemAddress() {
		return memAddress;
	}
	public void setMemAddress(String memAddress) {
		this.memAddress = memAddress;
	}
	public String getMemOk() {
		return memOk;
	}
	public void setMemOk(String memOk) {
		this.memOk = memOk;
	}
	public String getMemRegDate() {
		return memRegDate;
	}
	public void setMemRegDate(String memRegDate) {
		this.memRegDate = memRegDate;
	}
	public String getMemLevel() {
		return memLevel;
	}
	public void setMemLevel(String memLevel) {
		this.memLevel = memLevel;
	}
	
}
